package com.atguigu.gulimall.cart.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 *
 */
@ConfigurationProperties(prefix = "gulimall.thread")
@Component
@Data
@Configuration
public class ThreadPoolConfigProperties {
    private Integer coreSize=2;
    private Integer maxSize=10;
    private Integer keepAliveTime=20;
}
